package com.songshuai.sales.client.dto.request.frontsop;

import lombok.Data;
import org.springframework.util.StringUtils;

import java.util.List;

@Data
public class ListReqDto {



    /*当前登录用户*/
    private String currentUserId;

    /*标题*/
    private String title;

    /*标签ID*/
    private String labelId;

    /** 主分类 */
    private String mainType;

    /** 子分类 */
    private String subType;


    //辅助参数
    List<String> labelIds;
    private Integer start;
    private Integer end;

    public String getLabelId() {
        return StringUtils.isEmpty(labelId)==true?null:labelId;
    }

    public String getMainType() {
        return StringUtils.isEmpty(mainType)==true?null:mainType;
    }

    public String getSubType() {
        return StringUtils.isEmpty(subType)==true?null:subType;
    }

    public String getTitle() {
        return StringUtils.isEmpty(title)==true?null:title;
    }
}
